src/html/dom.d(337,8): Error: `@safe` function `html.dom.Node.text` cannot call `@system` function `html.dom.Node.text!(Appender!(const(char)[])).text` src/html/dom.d(320,7): `html.dom.Node.text!(Appender!(const(char)[])).text` is declared here src/html/dom.d(404,12): Error: `@safe` function `html.dom.Node.outerHTML` cannot call `@system` function `html.dom.Node.outerHTML!(Appender!(const(char)[])).outerHTML` src/html/dom.d(608,7): `html.dom.Node.outerHTML!(Appender!(const(char)[])).outerHTML` is declared here src/html/dom.d(392,12): Error: template instance `html.dom.Node.innerHTML!(Appender!(const(char)[]))` error instantiating src/html/dom.d(392,12): Error: `@safe` function `html.dom.Node.html` cannot call `@system` function `html.dom.Node.innerHTML!(Appender!(const(char)[])).innerHTML` src/html/dom.d(592,7): `html.dom.Node.innerHTML!(Appender!(const(char)[])).innerHTML` is declared here src/html/dom.d(410,19): Error: `@safe` function `html.dom.Node.compactOuterHTML` cannot call `@system` function `html.dom.Node.compactOuterHTML!(Appender!(const(char)[])).compactOuterHTML` src/html/dom.d(671,7): `html.dom.Node.compactOuterHTML!(Appender!(const(char)[])).compactOuterHTML` is declared here src/html/dom.d(398,19): Error: template instance `html.dom.Node.compactInnerHTML!(Appender!(const(char)[]))` error instantiating src/html/dom.d(398,19): Error: `@safe` function `html.dom.Node.compactHTML` cannot call `@system` function `html.dom.Node.compactInnerHTML!(Appender!(const(char)[])).compactInnerHTML` src/html/dom.d(600,7): `html.dom.Node.compactInnerHTML!(Appender!(const(char)[])).compactInnerHTML` is declared here src/html/dom.d(1172,24): Error: `@safe` function `html.dom.Document.createTextNode` cannot call `@system` function `html.dom.Document.allocNode!().allocNode` src/html/dom.d(1319,7): `html.dom.Document.allocNode!().allocNode` is declared here src/html/dom.d(830,11): Error: `@safe` function `html.dom.Node.toString` cannot call `@system` function `html.dom.Node.toString!(Appender!(const(char)[])).toString` src/html/dom.d(780,7): `html.dom.Node.toString!(Appender!(const(char)[])).toString` is declared here src/html/dom.d(831,10): Error: cast from `const(char)[]` to `string` not allowed in safe code src/html/dom.d(875,39): Error: `@safe` function `html.dom.Node.children` cannot call `@system` constructor `html.dom.ChildrenForward!(const(Node), null).ChildrenForward.this` src/html/dom.d(53,2): `html.dom.ChildrenForward!(const(Node), null).ChildrenForward.this` is declared here src/html/dom.d(939,40): Error: `@safe` function `html.dom.Node.ancestors` cannot call `@system` constructor `html.dom.AncestorsForward!(const(Node), null).AncestorsForward.this` src/html/dom.d(86,2): `html.dom.AncestorsForward!(const(Node), null).AncestorsForward.this` is declared here src/html/dom.d(931,3): Error: `@safe` function `html.dom.Node.closest` cannot call `@system` function `html.dom.AncestorsForward!(Node, null).AncestorsForward.front` src/html/dom.d(98,11): `html.dom.AncestorsForward!(Node, null).AncestorsForward.front` is declared here src/html/dom.d(947,42): Error: `@safe` function `html.dom.Node.descendants` cannot call `@system` constructor `html.dom.DescendantsForward!(const(Node), null).DescendantsForward.this` src/html/dom.d(119,2): `html.dom.DescendantsForward!(const(Node), null).DescendantsForward.this` is declared here src/html/dom.d(1007,33): Error: `@safe` function `html.dom.Node.clone` cannot call `@system` function `html.dom.Document.allocNode!().allocNode` src/html/dom.d(1319,7): `html.dom.Document.allocNode!().allocNode` is declared here src/html/dom.d(1014,18): Error: cast from `const(Node)` to `html.dom.Node` not allowed in safe code src/html/dom.d(1163,24): Error: `@safe` function `html.dom.Document.createElement` cannot call `@system` function `html.dom.Document.allocNode!().allocNode` src/html/dom.d(1319,7): `html.dom.Document.allocNode!().allocNode` is declared here src/html/dom.d(1179,24): Error: `@safe` function `html.dom.Document.createCommentNode` cannot call `@system` function `html.dom.Document.allocNode!().allocNode` src/html/dom.d(1319,7): `html.dom.Document.allocNode!().allocNode` is declared here src/html/dom.d(1186,24): Error: `@safe` function `html.dom.Document.createCDATANode` cannot call `@system` function `html.dom.Document.allocNode!().allocNode` src/html/dom.d(1319,7): `html.dom.Document.allocNode!().allocNode` is declared here src/html/dom.d(1193,24): Error: `@safe` function `html.dom.Document.createDeclarationNode` cannot call `@system` function `html.dom.Document.allocNode!().allocNode` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.